import request from "@/utils/request";
type Subjectrizhi = {
    userId: null,
    userName: null,
    pageIndex: number
    pageSize: number
}

type SubjectResponseType<T> = {
    total: number
    list: T[]
}

export type SubjectdaType = {
    "id": number,  //日志id
    "userId": number,  //用户id
    "userName": string,  //用户名
    "realName": string, //真实姓名
    "content": string, //日志内容
    "createTime":string//创建时间
}
export function subjectPage(data:Subjectrizhi) {
    return request.post<SubjectResponseType<SubjectdaType>>("/api/admin/user/event/page/list",data)
}